﻿using System.Collections.Generic;
using System.Windows.Navigation;

namespace XamlMvp
{
    public class NavigationContextWrapper : INavigationContext
    {
        readonly NavigationContext navigationContext;

        public NavigationContextWrapper(NavigationContext navigationContext)
        {
            this.navigationContext = navigationContext;
        }

        public IDictionary<string, string> QueryString
        {
            get { return navigationContext.QueryString; }
        }
    }
}
